package sqlstore

import (
    "fmt"
    "errors"
    "database/sql"

    "github.com/astaxie/beego"
    "gopkg.in/jetgeng/mergo.v1"

    "yikexing.com.cn/wyws/bus"
    "yikexing.com.cn/wyws/models"
    "yikexing.com.cn/wyws/common"
)

//var db *sqlx.DB

func init() {
	bus.AddHandler("sql", SearchFleet)
	bus.AddHandler("sql", InsertFleet)
	bus.AddHandler("sql", UpdateFleet)
	bus.AddHandler("sql", DeleteFleet)
}

func SearchFleet(cmd *models.SearchFleetCommand, datas map[string]interface{}) error {
	return nil
}

func InsertFleet(cmd *models.FleetCommand, datas map[string]interface{}) error {
    return nil
}

func UpdateFleet(cmd *models.FleetUpdateCommand, datas map[string]interface{}) error {
    return nil
}

func DeleteFleet(cmd *models.DeleteFleetCommand, datas map[string]interface{}) error {
    return nil
}
